﻿namespace dogd
{
	/// <summary>
	/// FilterOperators are used in WHERE clauses used by SqlStatementGenerator. Description
	/// attribute contains the SQL token.  
	/// </summary>
	public enum FilterOperator
	{
		/// <summary>
		/// Equality.
		/// </summary>
		[Description("=")]
		Equal,

		/// <summary>
		/// Inequality.
		/// </summary>
		[Description("<>")]
		NotEqual,

		/// <summary>
		/// Less than.
		/// </summary>
		[Description("<")]
		LessThan,

		/// <summary>
		/// Less than or equal to.
		/// </summary>
		[Description("<=")]
		LessThanOrEqual,

		/// <summary>
		/// Greater than.
		/// </summary>
		[Description(">")]
		GreaterThan,

		/// <summary>
		/// Greater than or equal to.
		/// </summary>
		[Description(">=")]
		GreaterThanOrEqual
	}
}
